package com.demo.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.demo.entity.User;
import com.demo.mapper.UserMapper;
@Service
public class UserService {
  @Autowired 
  UserMapper usermapper;
	public List<User> findAll() {
		
		return usermapper.findAll();
	}

}
